Remove Duplicate Lines (Fast, Order Not Preserved)
(6 actions, 4 KB)
0 Split Text
[Shortcut Input]
by New Lines »
1 Filter Files
[0 Split Text]
»
ContentItemSortProperty
:
Name
ContentItemSortOrder
:
A to Z
2 Combine Text
[1 Files]
with New Lines »
4
3 Comment
https://stackoverflow.com/a/1573425
4 Replace Text
(?m)^(.*)(\r?\n\1)+$
with
$1
in
[2 Combined Text]
»
ReplaceTextRegularExpression
:
true
5 Stop and Output
[4 Updated Text]